<fieldset class="layui-elem-field layui-field-title" >
    <legend><?echo $l_xitong_gaikuang?></legend>
</fieldset>




<ul class="indexinfo">
    <li>
        <div class="box">
            <h6><i class="layui-icon">&#xe653;</i><?echo $l_yonghu_gaikuang?></h6>
            <hr class="layui-bg-green">
            <div  class="content">

                <? $all_member=count_by_item($table_prefix."member","nid > 0");?>

                <div><b><?echo $l_xiadan_yonghu?>：</b><? echo $member_order_number?> </div>
                <div><b><?echo $l_suoyou_yonghu?>：</b><? echo $all_member ?> </div>
                <div><b>购买率：</b><? echo substr(100*$member_order_number/$all_member,0,5)."%" ?> </div>

            </div>

        </div>
    </li>




    <li>
        <div class="box">
            <h6><i class="layui-icon">&#xe653;</i>学校退款率</h6>
            <hr class="layui-bg-green">
            <table  class="content" style="width: 100%">
                <colgroup>
                    <col width="65%">
                    <col width="25%">
                    <col >
                </colgroup>

<? for($i=0;$i<count($school_list);$i++){?>
    <tr>
        <td><?echo $school_list[$i]['name']?> </td>
        <td> <?echo count($refund[$i])?>/<?echo count($finance[$i])?></td>
        <td>
            <?
            if(count($finance[$i]) > 0) {
                echo number_format((count($refund[$i])*100/count($finance[$i])), 2);
            } else {
                echo "0.00";
            }
            ?>%
        </td>
    </tr>
<?}?>



            </table>
        </div>
    </li>
</ul>


